<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>首页</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="用户管理">
	<meta http-equiv="description" content="首页测试">
  </head>
  
  <body>
    用户管理： <br>
    用户名：<input type="text" name="userName" value=""/>
    <a href="${pageContext.request.contextPath}/findOneUser.action">获取用户信息</a><br/>
    <a href="${pageContext.request.contextPath}/queryUser.action">获取用户信息</a>
    <br/>
    <hr/>
    <strong>新增用户：</strong>
    <br/>
    <br/>
    <form action="${pageContext.request.contextPath}/addUser.action" method="post">
    	用户名：<input type="text" name="user.uname"  value=""/><br/>
    	密码：<input type="text" name="user.upassword"  value=""/><br/>
    	用户类型：
    	<select name="user.utype">
    		<option value="管理员">管理员</option>
    		<option value="普通用户">普通用户</option>
    	</select>
    	<br/>
    	<input type="hidden" name="user.ustate"  value="1"/>
    	<input type="submit" value="提交"/>
    </form>
    <hr/>
  </body>
</html>
